<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>cutex: cutex::QxDateValidator Klassenreferenz</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="logo.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">cutex
   </div>
   <div id="projectbrief">cute Qt extensions</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Erzeugt von Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Suchen','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Suchen');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classcutex_1_1_qx_date_validator.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Öffentliche Methoden</a> &#124;
<a href="#pri-methods">Private Methoden</a> &#124;
<a href="#pri-attribs">Private Attribute</a> &#124;
<a href="classcutex_1_1_qx_date_validator-members.html">Aufstellung aller Elemente</a>  </div>
  <div class="headertitle">
<div class="title">cutex::QxDateValidator Klassenreferenz</div>  </div>
</div><!--header-->
<div class="contents">

<p>Die Klasse QxDateValidator ist ein Validator für Datumswerte.  
 <a href="classcutex_1_1_qx_date_validator.html#details">Mehr ...</a></p>

<p><code>#include &lt;<a class="el" href="qxdatevalidator_8h_source.html">qxdatevalidator.h</a>&gt;</code></p>
<div class="dynheader">
Klassendiagramm für cutex::QxDateValidator:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classcutex_1_1_qx_date_validator.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Öffentliche Methoden</h2></td></tr>
<tr class="memitem:a4fa45d02ff872f7a347808e483014b11"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_validator.html#a4fa45d02ff872f7a347808e483014b11">QxDateValidator</a> (QObject *parent=nullptr)</td></tr>
<tr class="separator:a4fa45d02ff872f7a347808e483014b11"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32ff47bf69775e90e6b7fb9bdacde5da"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_validator.html#a32ff47bf69775e90e6b7fb9bdacde5da">QxDateValidator</a> (const QString &amp;<a class="el" href="classcutex_1_1_qx_date_validator.html#a405e7afb2135e5d68fae6bf73e346107">format</a>, QObject *parent=nullptr)</td></tr>
<tr class="separator:a32ff47bf69775e90e6b7fb9bdacde5da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a405e7afb2135e5d68fae6bf73e346107"><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_validator.html#a405e7afb2135e5d68fae6bf73e346107">format</a> () const</td></tr>
<tr class="separator:a405e7afb2135e5d68fae6bf73e346107"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aec9c2d676716533e6224512421aef0dc"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_validator.html#aec9c2d676716533e6224512421aef0dc">fixup</a> (QString &amp;input) const</td></tr>
<tr class="separator:aec9c2d676716533e6224512421aef0dc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae64682a11b38fc7d28b7426515aa2310"><td class="memItemLeft" align="right" valign="top">virtual QValidator::State&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classcutex_1_1_qx_date_validator.html#ae64682a11b38fc7d28b7426515aa2310">validate</a> (QString &amp;input, int &amp;pos) const</td></tr>
<tr class="separator:ae64682a11b38fc7d28b7426515aa2310"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-methods"></a>
Private Methoden</h2></td></tr>
<tr class="memitem:a7eeec9fceb0ed4696306f2b620a04867"><td class="memItemLeft" align="right" valign="top"><a id="a7eeec9fceb0ed4696306f2b620a04867"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>determineSeparator</b> ()</td></tr>
<tr class="separator:a7eeec9fceb0ed4696306f2b620a04867"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adbb95e7c0f8777dbd2405e6900f42203"><td class="memItemLeft" align="right" valign="top"><a id="adbb95e7c0f8777dbd2405e6900f42203"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>prepare</b> (QString &amp;input) const</td></tr>
<tr class="separator:adbb95e7c0f8777dbd2405e6900f42203"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private Attribute</h2></td></tr>
<tr class="memitem:ad86badb22c3bc845d9d9e987954ae486"><td class="memItemLeft" align="right" valign="top"><a id="ad86badb22c3bc845d9d9e987954ae486"></a>
QString&#160;</td><td class="memItemRight" valign="bottom"><b>m_format</b></td></tr>
<tr class="separator:ad86badb22c3bc845d9d9e987954ae486"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7eb2e402757988d35c92739c54321964"><td class="memItemLeft" align="right" valign="top"><a id="a7eb2e402757988d35c92739c54321964"></a>
QChar&#160;</td><td class="memItemRight" valign="bottom"><b>m_separator</b></td></tr>
<tr class="separator:a7eb2e402757988d35c92739c54321964"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Ausführliche Beschreibung</h2>
<div class="textblock"><p>Die Klasse QxDateValidator ist ein Validator für Datumswerte. </p>
<p>Qt stellt mit QDateEdit ein Widget zur Eingabe von Datumswerten bereit. Sobald ein Datum aber nur optional eingegeben werden soll, stößt man jedoch an die Grenzen von QDateEdit. Die Auswahl eines leeren Datums ist damit nicht möglich. Mit QxDateValidator kann ein normales Eingabefeld zur Eingabe von Datumswerten verwendet und validiert werden.</p>
<dl class="section see"><dt>Siehe auch</dt><dd><a class="el" href="classcutex_1_1_qx_date_edit.html" title="Die Klasse QxDateEdit stellt ein Widget zur Eingabe von Datumswerten bereit.">QxDateEdit</a> </dd></dl>
</div><h2 class="groupheader">Beschreibung der Konstruktoren und Destruktoren</h2>
<a id="a4fa45d02ff872f7a347808e483014b11"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4fa45d02ff872f7a347808e483014b11">&#9670;&nbsp;</a></span>QxDateValidator() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxDateValidator::QxDateValidator </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt einen neuen Validator mit dem Elternobjekt <em>parent</em>. </p>

</div>
</div>
<a id="a32ff47bf69775e90e6b7fb9bdacde5da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32ff47bf69775e90e6b7fb9bdacde5da">&#9670;&nbsp;</a></span>QxDateValidator() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QxDateValidator::QxDateValidator </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>format</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Erzeugt einen neuen Validator für das Datumsformat <em>format</em> und dem Elternobjekt <em>parent</em>. </p>

</div>
</div>
<h2 class="groupheader">Dokumentation der Elementfunktionen</h2>
<a id="aec9c2d676716533e6224512421aef0dc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aec9c2d676716533e6224512421aef0dc">&#9670;&nbsp;</a></span>fixup()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void QxDateValidator::fixup </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&#160;</td>
          <td class="paramname"><em>input</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Nimmt automatische Korrekturen der Eingabe <em>input</em> vor. </p>

</div>
</div>
<a id="a405e7afb2135e5d68fae6bf73e346107"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a405e7afb2135e5d68fae6bf73e346107">&#9670;&nbsp;</a></span>format()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString QxDateValidator::format </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>Gibt das Datumsformat zurück. </p>

</div>
</div>
<a id="ae64682a11b38fc7d28b7426515aa2310"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae64682a11b38fc7d28b7426515aa2310">&#9670;&nbsp;</a></span>validate()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">QValidator::State QxDateValidator::validate </td>
          <td>(</td>
          <td class="paramtype">QString &amp;&#160;</td>
          <td class="paramname"><em>input</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int &amp;&#160;</td>
          <td class="paramname"><em>pos</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>Führt die Validierung der Eingabe <em>input</em> durch. </p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>cutex</b></li><li class="navelem"><a class="el" href="classcutex_1_1_qx_date_validator.html">QxDateValidator</a></li>
    <li class="footer">Erzeugt von <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
